package ooday01;

class Car {
    String brand;
    String color;
    double price;
    void start() {
        System.out.println(brand+"的"+color+"的"+price+"小汽车启动了！");
    }
    void run() {
        System.out.println(brand+"的"+color+"的"+price+"小汽车逃逸了！");
    }
    void stop() {
        System.out.println(brand+"的"+color+"的"+price+"小汽车报废了！");
    }
    Car() {
    }
    Car(String brand,String color,double price) {
        this.brand = brand;
        this.color = color;
        this.price = price;
    }

}
